from tortoise.models import Model
from tortoise import fields

class Logging(Model):
   username = fields.CharField(max_length=50, description='用户名')
   time = fields.DatetimeField(auto_now_add=True, description='操作时间')
   action = fields.CharField(max_length=50, description='操作')
    